home *** CD-ROM | disk | FTP | other *** search
- Path: newshost.lanl.gov!tanmoy
- From: tanmoy@qcd.lanl.gov (Tanmoy Bhattacharya)
- Newsgroups: comp.lang.pl1,comp.lang.c
- Subject: Re: PL/I and C
- Date: 28 Feb 1996 15:51:59 GMT
- Organization: Los Alamos National Laboratory
- Message-ID: <TANMOY.96Feb28085159@qcd.lanl.gov>
- References: <4gh5ru$eng@goanna.cs.rmit.EDU.AU> <312CCEB2.4AB7@corp.dialog.com>
- <4grhtv$s31@goanna.cs.rmit.EDU.AU> <4gt0tv$826@solutions.solon.com>
- <4h11ub$njp@goanna.cs.rmit.EDU.AU>
- NNTP-Posting-Host: qcd.lanl.gov
- Mime-Version: 1.0
- Content-Type: text
- In-reply-to: rav@goanna.cs.rmit.EDU.AU's message of 28 Feb 1996 18:58:03 +1100
-
- In article <4h11ub$njp@goanna.cs.rmit.EDU.AU>
- rav@goanna.cs.rmit.EDU.AU (++ robin) writes:
- <snip>
- r: >strchr, strrchr, strspn, strcspn, strpbrk.
- <snip>
- r: As for the others (strrchr etc), they are not in all systems.
-
- When one discusses languages, one ought to take the standard version
- of of the language, especially when the standard is not `brand
- new'. All of the functions mentioned are ANSI C functions, and saying
- that not all systems have them is like saying that not all fortran
- systems define the intrinsic `LEN'. Technically true, but completely
- irrelevant to any useful discussions about the language.
-
- I am actually not concerned in your `language debate'. I just do not
- want false statements in comp.lang.c to pass unchallenged and thus
- confuse others.
-
- r: >> There are several functions for centering text, & trimming
- r: >>given characters from either or both ends of a string.
- r:
- r: >sprintf.
- r:
- r: ---Not quite. The above are non-I/O functions.
-
- How is sprintf an I/O function? It inputs its parameters and outputs
- into the memory pointed to by one of its parameters?
-
- Cheers
- Tanmoy
- --
- tanmoy@qcd.lanl.gov(128.165.23.46) DECNET: BETA::"tanmoy@lanl.gov"(1.218=1242)
- Tanmoy Bhattacharya O:T-8(MS B285)LANL,NM87545 H:#9,3000,Trinity Drive,NM87544
- Others see <gopher://yaleinfo.yale.edu:7700/00/Internet-People/internet-mail>,
- <http://alpha.acast.nova.edu/cgi-bin/inmgq.pl>or<ftp://csd4.csd.uwm.edu/pub/
- internetwork-mail-guide>. -- <http://nqcd.lanl.gov/people/tanmoy/tanmoy.html>
- fax: 1 (505) 665 3003 voice: 1 (505) 665 4733 [ Home: 1 (505) 662 5596 ]
-